Skip to content

Move charset information before any content #1292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Conversation

s5bug
Copy link
Contributor

@s5bug s5bug commented Nov 3, 2021

This fixes the rendering of non-ASCII characters in the OpenGraph embeds. For example, 🎉🎉🎉 is rendering as 🎉🎉🎉.

image

This fixes the rendering of non-ASCII characters in the OpenGraph embeds. For example, 🎉🎉🎉 would render as 🎉🎉🎉.
@SethTisue SethTisue merged commit a056b24 into scala:main Nov 4, 2021
@SethTisue
Copy link
Member

I wasn't seeing this issue in my browser (Safari), but it seems like a safe change.

@s5bug
Copy link
Contributor Author

s5bug commented Nov 4, 2021

@SethTisue This doesn't show up in browsers as they correctly interpret the charset coming after the OGP data, however Discord's crawler does not. (I guess it's not really a crawler, but I don't know what to call it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants